package cn.com.idmy.auth.rbac;

import cn.com.idmy.auth.exception.AuthException;
import lombok.Getter;
import lombok.experimental.Accessors;

@Getter
@Accessors(fluent = true)
public class RbacRoleException extends AuthException {
    private final String role;
    private final long accountType;

    public RbacRoleException(String role, long accountType) {
        super("无此角色：" + role);
        this.role = role;
        this.accountType = accountType;
    }
}
